<%@ Page Theme="BlueSkin" Title="LMS : Catalog manager" Language="C#" MasterPageFile="~/LmsWebSite/MasterEN.master" AutoEventWireup="true" CodeFile="QuestionsCourseEN.aspx.cs" Inherits="QuestionsCourseEN" %>














<%@ Register src="FoldersControlEN.ascx" tagname="FoldersControlEN" tagprefix="uc1" %>














<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
    
    
    
    
   


</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <asp:UpdatePanel ID="up1" runat="server" >
    <ContentTemplate>
        <asp:UpdateProgress ID="uprogress1" runat="server">
            <ProgressTemplate>
            
                <div style="position:fixed;width:30px;height:30px;top:0px;right:0px;border:1px solid orange;">
                    <img src="images/loading.gif" style="width:30px;height:30px;"  alt='Loading' title='Loading'/>
                </div>
            </ProgressTemplate>
        </asp:UpdateProgress>
    
        
        
        
        
<table cellspacing="5" cellpadding="5" width="100%">
        <tr>
            <td align="left" class="heading">
               Catalog manager
            </td>
        </tr>
    </table>
    <div class="clearing" style="width:1px;height:10px;font-size:1px;"></div>
    
    <div class="aligning allWidthWithMargins  direction" style="margin-bottom:10px;margin-left:30px;margin-right:30px;font-size:14px;">
       
       
       <div class="floating aligning direction" style="width:200px;">
            <asp:Label ID="lblCurrentFolderDesc" runat="server" Text="Course type : "></asp:Label>
        </div>
        
        
       
       <uc1:FoldersControlEN ID="fcSelectFolder" runat="server" OnSelectedItemChanged="fcSelectFolder_SelectedItemChanged"   />
       
       
       
       <div class="clearing" style="width:1px;height:30px;"></div>       
        
       
       
            
        <asp:GridView DataKeyNames="ID" ID="grdUsers" runat="server" 
                AutoGenerateColumns="False" AllowPaging="True" 
                 Font-Size="12px" 
                onpageindexchanging="grdUsers_PageIndexChanging" 
            onrowediting="grdUsers_RowEditing" Width="840px" 
            EnableModelValidation="True">
                <HeaderStyle HorizontalAlign="Center"/>

                <RowStyle HorizontalAlign="Center" />

                <EmptyDataTemplate>
                <div class="aligning floating direction" style="width:840px;">
                    <asp:Label ID="Label2" runat="server" Text="Label" >No Courses found</asp:Label> 
                    <br />
                    <br />
                    
                </div>
                    
                </EmptyDataTemplate>
                <Columns>
                    <asp:TemplateField HeaderStyle-CssClass="gridRowStyle" ItemStyle-CssClass="gridRowStyle">
                        <HeaderTemplate>
                            <asp:Label ID="lblCourseNameARHead" runat="server" Text="Arabic Name" Width="120px" ></asp:Label>
                        </HeaderTemplate>
                        <ItemTemplate>
                            
                           <asp:Label ID="lblCourseNameARItem" runat="server" Text='<%#  Eval ("CourseNameAR") %>' Width="120px" style="margin-top:10px;margin-bottom:10px;"></asp:Label>
                                                     
                        </ItemTemplate>
                        <HeaderStyle CssClass="gridRowStyle" />
                        <ItemStyle CssClass="gridRowStyle" />
                    </asp:TemplateField>
                    
                    <asp:TemplateField>
                        <HeaderTemplate>
                            <asp:Label ID="lblCourseNameENHead" runat="server" Text="English Name" Width="120px"></asp:Label>
                        </HeaderTemplate>
                        <ItemTemplate>
                           <asp:Label ID="lblCourseNameENItem" runat="server" Text='<%#  Eval ("CourseNameEN") %>' Width="120px"></asp:Label>
                                                     
                        </ItemTemplate>
                    </asp:TemplateField>
                    <asp:TemplateField>
                        <HeaderTemplate>
                            <asp:Label ID="lblFolderName" runat="server" Text="Course type" Width="120px"></asp:Label>
                        </HeaderTemplate>
                        <ItemTemplate>
                            
                           <asp:Label ID="lblFolderName" runat="server" Text='<%# ((DatabaseComponent.Courses)(Container.DataItem)).objFolder.objMostParent.FolderNameEN %>' Width="120px"></asp:Label>
                                                     
                        </ItemTemplate>
                    </asp:TemplateField>
                    
                    
                   
                    
                    
                     <asp:TemplateField>
                        <HeaderTemplate>
                            <asp:Label ID="lblDurationHead" runat="server" Text="Duration" Width="80px"></asp:Label>
                        </HeaderTemplate>
                        <ItemTemplate>
                           <asp:Label ID="lblDurationItem" runat="server" Text='<%#  GlobalVars.setSecounds ((long?)Eval ("Duration")) %>' Width="80px"></asp:Label>
                                                     
                        </ItemTemplate>
                    </asp:TemplateField>
                    
                    
                    
                    <asp:TemplateField>
                        <HeaderTemplate>
                            <asp:Label ID="lblPathHead" runat="server" Text="Path" Width="140px"></asp:Label>
                        </HeaderTemplate>
                        <ItemTemplate>
                           <asp:Label ID="lblPathItem" runat="server" Text='<%#  Eval ("Path").ToString ()  %>' Width="140px" style="overflow:hidden;"></asp:Label>
                                                     
                        </ItemTemplate>
                    </asp:TemplateField>
                    
                    
                    
                    <asp:TemplateField>
                        <HeaderTemplate>
                                <asp:Label ID="lblActionsHead" runat="server" Text="Action" ></asp:Label>
                        </HeaderTemplate>
                        <ItemTemplate>
                           
                                                              
                                 <asp:LinkButton ID="lnkEditQuestions" runat="server" CommandName="Edit" CommandArgument='<%# Container.DataItemIndex %>'    Text="Edit questions" CausesValidation="false"></asp:LinkButton>
                                  
                                                 
                        </ItemTemplate>
                        
                        
                    </asp:TemplateField>
                    
                    
                    
                    
                    
                        
                           
                        
               
                
                
                
                </Columns>
                
                
            </asp:GridView>



        
        
        <div class="clearing" style="margin-bottom:200px;">
            
        </div>
       
       
       
       
    </div>
    
    
    
    
        
    
    
        </ContentTemplate>
        </asp:UpdatePanel>


</asp:Content>

